package edu.liushao.service;

import edu.liushao.dao.TeacherDao;

/**
 * @program: untitled
 * @ClassName TeacherService
 * @description:
 * @author: 刘庆东
 * @create: 2024−11-27 14:48
 * @Version 1.0
 **/

public class TeacherService {
/*    private TeacherDao haha;

    public TeacherDao getHaha() {
        return haha;
    }

    public void setHaha(TeacherDao haha) {
        this.haha = haha;
    }*/

     private TeacherDao teacherDao;

   public TeacherDao getTeacherDao() {
        return teacherDao;
    }

    public void setTeacherDao(TeacherDao teacherDao) {
        this.teacherDao = teacherDao;
    }

    public void add(){
        System.out.println("service  .............");
        teacherDao.insert();
       // haha.insert();
    }
}
